package com.giscloud.amp.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.giscloud.commons.model.BaseDTO;

import java.util.Date;

/**
 * @Author:gxd
 * @Description:
 * @Date: 11:29 2018/2/24
 * @Modified By:
 */
public class AmpStaffDTO extends BaseDTO {

    /**
     * 用户ID
     */
    private Long staffId;

    /**
     * 用户编码
     */
    private String staffCode;

    /**
     * 姓名
     */
    private String staffName;

    /**
     * 登陆名
     */
    private String loginName;

    /**
     * 电话
     */
    private String telephone;

    /**
     * 用户状态 1|在用;2|删除;3|离职;4|冻结
     */
    private Long statusCd;

    /**
     * 密码
     */
    private String password;

    /**
     * 盐值
     */
    private String saltValue;

    /**
     * 密码失效时间
     */
    private Date expDt;

    /**
     * 密码变更策略类型
     */
    private Integer pwChgType;

    /**
     * 创建人
     */
    private Long createdStaffId;

    /**
     * 创建时间
     */
    private Date createdDt;

    /**
     * 更新时间
     */
    private Date version;

    /**
     * 备注
     */
    private String remark;

    private String validateCode;

    private Long orgId;

    private String orgName;

    private String email;

    private Integer staffType;

    //@JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date staffExpDt;

    /**
     * 验证码
     */
    private String code;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Date getStaffExpDt() {
        return staffExpDt;
    }

    public void setStaffExpDt(Date staffExpDt) {
        this.staffExpDt = staffExpDt;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getStaffType() {
        return staffType;
    }

    public void setStaffType(Integer staffType) {
        this.staffType = staffType;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getValidateCode() {
        return validateCode;
    }

    public void setValidateCode(String validateCode) {
        this.validateCode = validateCode;
    }

    public Long getStaffId() {
        return staffId;
    }

    public void setStaffId(Long staffId) {
        this.staffId = staffId;
    }

    public String getStaffCode() {
        return staffCode;
    }

    public void setStaffCode(String staffCode) {
        this.staffCode = staffCode;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public Long getStatusCd() {
        return statusCd;
    }

    public void setStatusCd(Long statusCd) {
        this.statusCd = statusCd;
    }

    public String getSaltValue() {
        return saltValue;
    }

    public void setSaltValue(String saltValue) {
        this.saltValue = saltValue;
    }

    public Date getExpDt() {
        return expDt;
    }

    public void setExpDt(Date expDt) {
        this.expDt = expDt;
    }

    public Integer getPwChgType() {
        return pwChgType;
    }

    public void setPwChgType(Integer pwChgType) {
        this.pwChgType = pwChgType;
    }

    public Long getCreatedStaffId() {
        return createdStaffId;
    }

    public void setCreatedStaffId(Long createdStaffId) {
        this.createdStaffId = createdStaffId;
    }

    public Date getCreatedDt() {
        return createdDt;
    }

    public void setCreatedDt(Date createdDt) {
        this.createdDt = createdDt;
    }

    public Date getVersion() {
        return version;
    }

    public void setVersion(Date version) {
        this.version = version;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

}
